home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / catD / WR.z / WR
Encoding:
Text File  |  2002-10-03  |  4.7 KB  |  132 lines

  1.  
  2.  
  3.  
  4. WWWWRRRR((((DDDD3333))))                                                                  WWWWRRRR((((DDDD3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _WWWW_RRRR - get a pointer to the write queue
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_ssss_tttt_rrrr_eeee_aaaa_mmmm_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
  14.      _qqqq_uuuu_eeee_uuuu_eeee______tttt _****_WWWW_RRRR_((((_qqqq_uuuu_eeee_uuuu_eeee______tttt _****_q_))))_;;;;
  15.  
  16.    AAAArrrrgggguuuummmmeeeennnnttttssss
  17.      _q         Pointer to the queue whose write queue is to be returned.
  18.  
  19. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.      The _WWWW_RRRR function accepts a queue pointer as an argument and returns a
  21.      pointer to the write queue of the same module.
  22.  
  23.    RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
  24.      The pointer to the write queue.
  25.  
  26. UUUUSSSSAAAAGGGGEEEE
  27.      Note that when _WWWW_RRRR is passed a write queue pointer as an argument, it
  28.      returns a pointer to this write queue.
  29.  
  30.    LLLLeeeevvvveeeellll
  31.      Base or Interrupt.
  32.  
  33.    SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss
  34.      Does not sleep.
  35.  
  36.      Driver-defined basic locks, read/write locks, and sleep locks may be held
  37.      across calls to this function.
  38.  
  39.    EEEExxxxaaaammmmpppplllleeeessss
  40.      In a STREAMS _oooo_pppp_eeee_nnnn(D2) routine, the driver or module is passed a pointer
  41.      to the read queue.  The driver or module can store a pointer to a private
  42.      data structure in the _qqqq______pppp_tttt_rrrr field of both the read and write queues if it
  43.      needs to identify the data structures from its _pppp_uuuu_tttt(D2) or _ssss_rrrr_vvvv(D2)
  44.      routines.
  45.  
  46.       _1111  _eeee_xxxx_tttt_eeee_rrrr_nnnn _ssss_tttt_rrrr_uuuu_cccc_tttt _xxxx_xxxx_xxxx______dddd_eeee_vvvv_[[[[_]]]]_;;;;
  47.          _...._...._....
  48.       _2222  _xxxx_xxxx_xxxx_oooo_pppp_eeee_nnnn_((((_qqqq_uuuu_eeee_uuuu_eeee______tttt _****_qqqq_,,,, _dddd_eeee_vvvv______tttt _****_dddd_eeee_vvvv_pppp_,,,, _iiii_nnnn_tttt _ffff_llll_aaaa_gggg_,,,, _iiii_nnnn_tttt _ssss_ffff_llll_aaaa_gggg_,,,, _cccc_rrrr_eeee_dddd______tttt _****_cccc_rrrr_pppp_))))
  49.       _3333  _{{{{
  50.           _...._...._....
  51.       _3333   _qqqq_----_>>>>_qqqq______pppp_tttt_rrrr _==== _((((_cccc_aaaa_dddd_dddd_rrrr______tttt_))))_&&&&_xxxx_xxxx_xxxx______dddd_eeee_vvvv_[[[[_gggg_eeee_tttt_mmmm_iiii_nnnn_oooo_rrrr_((((_****_dddd_eeee_vvvv_pppp_))))_]]]]_;;;;
  52.       _4444   _WWWW_RRRR_((((_qqqq_))))_----_>>>>_qqqq______pppp_tttt_rrrr _==== _((((_cccc_aaaa_dddd_dddd_rrrr______tttt_))))_&&&&_xxxx_xxxx_xxxx______dddd_eeee_vvvv_[[[[_gggg_eeee_tttt_mmmm_iiii_nnnn_oooo_rrrr_((((_****_dddd_eeee_vvvv_pppp_))))_]]]]_;;;;
  53.           _...._...._....
  54.       _5555  _}}}}
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                                                         PPPPaaaaggggeeee 1111
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68. WWWWRRRR((((DDDD3333))))                                                                  WWWWRRRR((((DDDD3333))))
  69.  
  70.  
  71.  
  72. REFERENCES
  73.      _OOOO_TTTT_HHHH_EEEE_RRRR_QQQQ(D3), _RRRR_DDDD(D3)
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.                                                                         PPPPaaaaggggeeee 2222
  128.  
  129.  
  130.  
  131.